home *** CD-ROM | disk | FTP | other *** search
/ Star Festival... a Return to Japan / Star Festival... a Return to Japan.iso / pc / STARFESTIVAL / 17d.dir / 00001.ls next >
Encoding:
Text File  |  1999-04-02  |  1.7 KB  |  62 lines

  1. on startMovie
  2.   global qtChan, gKnobSprite
  3.   sprite(13).visible = 0
  4.   puppetSprite(46, 1)
  5.   set the locH of sprite 46 to the mouseH
  6.   set the locV of sprite 46 to the mouseV
  7.   qtChan = 11
  8.   sprite(qtChan).volume = 256
  9.   preLoad(qtChan - 1)
  10.   set the mouseDownScript to EMPTY
  11.   set the mouseUpScript to EMPTY
  12.   gKnobSprite = 5
  13.   setUpKnob()
  14. end
  15.  
  16. on idle
  17.   global gCursorReady
  18.   if gCursorReady = 1 then
  19.     cursor(200)
  20.     checkCursors()
  21.     set the locH of sprite 46 to the mouseH
  22.     set the locV of sprite 46 to the mouseV
  23.     updateStage()
  24.   end if
  25. end
  26.  
  27. on checkCursors
  28.   global gMagCursor
  29.   set the castNum of sprite 46 to the number of member "curs1"
  30.   if the castNum of sprite 2 and rollOver(2) then
  31.     set the castNum of sprite 46 to the number of member "deMagCursor"
  32.   end if
  33.   if rollOver(6) then
  34.     set the castNum of sprite 46 to the number of member "hotCursor"
  35.   end if
  36.   if rollOver(7) then
  37.     set the castNum of sprite 46 to the number of member "hotCursor"
  38.   end if
  39.   if rollOver(8) then
  40.     set the castNum of sprite 46 to the number of member "hotCursor"
  41.   end if
  42.   if rollOver(9) then
  43.     set the castNum of sprite 46 to the number of member "curs1"
  44.   end if
  45.   if the castNum of sprite 11 and rollOver(11) then
  46.     set the castNum of sprite 46 to the number of member gMagCursor
  47.   end if
  48.   repeat with i = 33 to 35
  49.     if rollOver(i) then
  50.       set the castNum of sprite 46 to the number of member "hotCursor"
  51.     end if
  52.   end repeat
  53.   repeat with i = 40 to 42
  54.     if rollOver(i) then
  55.       set the castNum of sprite 46 to the number of member "hotCursor"
  56.     end if
  57.   end repeat
  58.   if rollOver(43) or rollOver(44) then
  59.     set the castNum of sprite 46 to the number of member "hotCursor"
  60.   end if
  61. end
  62.